package com.guigu.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BookMapper {
    public List<Map<String,Object>> queryAll();

    public List<Map<String,Object>> queryBy(@Param("name") String name,@Param("press") String press, @Param("author") String author);

    public  void addBook (@Param("map") Map<String,Object> map);


}
